import pandas as pd

# 1. 导入数据
df = pd.read_csv(R"C:\Users\86186\Downloads\house.csv", encoding='gbk')
print(f'样本量共有 {df.shape[0]} 个')
# 2. 判断是否有重复项
print(df.duplicated().sum())
# 3. 判断是否有缺失值
print(df.isnull().sum())
# 4. 查看数据类型
print(df.dtypes)